package com.stgy.lease.web.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.stgy.lease.model.domain.ViewAppointment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stgy.lease.web.admin.dto.AppointmentSearchDto;
import com.stgy.lease.web.admin.vo.AppointmentInfoVo;

/**
* @author lingx
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:30
*/
public interface ViewAppointmentService extends IService<ViewAppointment> {

    //条件分页查询看房预约列表
    Page<AppointmentInfoVo> pageItem(AppointmentSearchDto appointmentSearchDto);

    //根据id更新预约状态
    boolean updateStatusById(Long id, Integer status);
}
